﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Watchdog.Facade {

    [DataContract ()]
    public partial class Schedule {

        public Schedule () { }

        [DataMember ()]
        public virtual int Id {
            get { return id; }
            set { id = value; }
        } int id;


        [DataMember ()]
        public virtual int Test {
            get { return test; }
            set { test = value; }
        } int test;

        [DataMember ()]
        public virtual bool Paused {
            get { return paused; }
            set { paused = value; }
        } bool paused;

        [DataMember ()]
        public virtual DateTime DateStart {
            get { return datestart; }
            set { datestart = value; }
        } DateTime datestart;

        [DataMember ()]
        public virtual DateTime DateStop {
            get { return datestop; }
            set { datestop = value; }
        } DateTime datestop;

        [DataMember ()]
        public virtual string HourStart {
            get { return hourstart; }
            set { hourstart = value; }
        } string hourstart;

        [DataMember ()]
        public virtual string HourStop {
            get { return hourstop; }
            set { hourstop = value; }
        } string hourstop;

        [DataMember ()]
        public virtual Int16 RepeatType {
            get { return repeattype; }
            set { repeattype = value; }
        } Int16 repeattype;

        [DataMember ()]
        public virtual Int16 RepeatInterval {
            get { return repeatinterval; }
            set { repeatinterval = value; }
        } Int16 repeatinterval;

        [DataMember ()]
        public virtual int Days {
            get { return days; }
            set { days = value; }
        } int days;

        [DataMember ()]
        public virtual int Weeks {
            get { return weeks; }
            set { weeks = value; }
        } int weeks;

        [DataMember ()]
        public virtual int Months {
            get { return months; }
            set { months = value; }
        } int months;

        [DataMember ()]
        public virtual DateTime NextRun {
            get { return nextrun; }
            set { nextrun = value; }
        } DateTime nextrun;

        [DataMember ()]
        public virtual DateTime LastRun {
            get { return lastrun; }
            set { lastrun = value; }
        } DateTime lastrun;

        [DataMember ()]
        public virtual DateTime Locked {
            get { return locked; }
            set { locked = value; }
        } DateTime locked;
    }
}
